package cn.hdu.liang.reusing;

class Poppet {
    private int i;

    Poppet(int ii) {
        i = ii;
    }

    @Override
    public String toString() {
        return "i = " + i;
    }
}

public class BlankFinal {

    private final int i = 0;
    private final int j;
    private final Poppet p;

    public BlankFinal() {
        j = 1;
        p = new Poppet(1);
        System.out.println("j = " + j + "  p." + p);
    }

    public BlankFinal(int x) {
        j = x;
        p = new Poppet(x);
        System.out.println("j = " + j + "  p." + p);
    }

    public static void main(String[] args) {
        new BlankFinal();
        new BlankFinal(47);
    }

}
